package cn.twh.wall.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@RefreshScope
@Component
@ConfigurationProperties(prefix = "wall.beetl")
@Data
public class BeetlConfig {

    /**
     * 挡板配置基础路径
     */
    private String basePath = "";
    /**
     * 公共挡板配置路径
     */
    private String commPath = "";
    /**
     * 模块挡板配置
     */
    private String itemPath = "";
    /**
     * 默认挡板
     */
    private String defaultTemplate = "DefaultTemplate";
}


